Apply tex wrap/clamp in shader for render-to-tex.

Fixes graphical artifacts in Wild Arms XF (which depends on how you get
there, because it's based on the size of the framebuffer.)
Merge pull request #6250 from unknownbrackets/framebuf-clamp

Apply tex wrap/clamp in shader for render-to-tex