Double check upload/download are VRAM addresses.
Clear buffers before using them.

Fixes a reported crash on an AMD card.
Merge pull request #6378 from unknownbrackets/gpu-minor

Validate framebuffer uploads a bit more