fix bugs from r4926 (off-by-one error in out-of-range rom-reading check). possibly broke the last u32 in the rom. fixes bug #1406 (phantasy star 0 CHS translation black screen freeze)

git-svn-id: https://svn.code.sf.net/p/desmume/code/trunk@5049 5577840e-afb3-4e59-9ef3-2b7f898b1952