Merge pull request #56 from bigboss-ps3dev/master

Added video output to gemsample
Fix cgcomp linking error on some platforms.
Add Solaris support for tools.
Fix make_self for the newer firmwares

There was some mixup in the flag handling producing invalid
crypt data header
Merge pull request #57 from bgK/make_self_fix

Fix make_self for the newer firmwares