Enable mask() on PGragraphicsJava2D

The default implementation in ``PImage`` works fine with the Java2D renderer
(it's quite simple and operates directly on the pixels array), but for
some reason ``PGraphicsJava2D`` was overriding the default implementation
with a warning.