Merge pull request #560 from aliaspider/master

(PSP) rewrite video driver
(RGL PS3) Reuse gcm_emit macros in more places
(RGL PS3) Cleanups
(RGL PS3) Take out MSVC ifdefs
Merge pull request #561 from aliaspider/master

(PSP) fix up RGUI colors.
(RGL PS3) Cleanups #2
(RGL PS3) rglPlatformFramebuffer becomes rglFramebuffer
convert images on texture_image_load for gekko
(PS3 RGL)  Reuse gcm_emit functions
(RGL PS3) Cleanup rglGcmFifoGlViewport
(RGL PS3) Cleanups
(RGL PS3) Split up gcm command macros in separate file
(RGL PS3) Cleanups...
(PS3 RGL) Refactor rglFramebuffer
(PS3 RGL )Get rid of GCM method macros
(RGL PS3) Use gcm_emit macros for inlined GCM method commands
(PSL1GHT) Makefile changes
Create Makefile.griffin - replacement for Makefile.ngc and
Makefile.wii.

Build the Wii port like this: make -f Makefile.griffin platform=wii
Build the NGC port like this: make -f Makefile.griffin platform=ngc
Update dist-scripts/ngc-cores and dist-scripts/wii-cores.sh
(Thread wrapper) Fix unused variable i warning