Fixed crashing issue with raw images

git-svn-id: https://yabause.svn.sourceforge.net/svnroot/yabause/trunk@3074 d7be59e3-070e-4b9a-85a1-4646befae34d