GLES: Implement a custom modulo function for PowerVR. Fixes blockiness, see #7153 and #7150