tighten up RGB read/write code in gfx
:Merge branch 'master' of github.com:andreasgal/j2me.js
Merge branch 'master' into test-record-store-file-natives