opengl resamplers improvements

Make existing resamplers in opengl vo more compatible to those commonly used in avisynth.

Basically these commits are independent from each other. Please review them one by one.