Fixed return value in reference operator.
Add definitions for EXT_abgr.
Add wrappers for glTexSubImage*D.