As established in issue #129849 , there are references to older versions of Grease Pencil that aren't needed. This PR is meant to remove such references or, in places where otherwise `GreasePencil` is referenced but `GPencil` is not, it changes the reference as for it to reference the v3 implementations in PaintMode. It also removes `GreasePencil` from the list of options when declaring `PaintMode`. Pull Request: https://projects.blender.org/blender/blender/pulls/131065