This PR makes sure only images of type GIF, JPEG and PNG can be uploaded as an avatar or banner.
Fixes https://gitlab.com/JOGL/JOGL/-/issues/260