Make GL_Upload8 internal buffer dynamic.

Use stack buffer for images up to 256 KiB, allocate heap buffer for
larger images. Return alpha flag in global variable.
Allow upscaling of PCX images using HQ2x filter.

Add ‘gl_upscale_pcx’ console variable.