Fix #2228 - PImageResizeTransparantBug (Alternative Solution)

This pull request fixes issue #2228.

**Solution:**
When the BufferedImage is of type BufferedImage.TYPE_INT_RGB the adapted code makes sure all pixels are fully opaque. This pull request provides a cleaner solution than the previous pull request #2312 because it respects and leaves intact the RGB / ARGB type of the image.