Optimize fast_mem_access.

-Test address ranges using masks
-Reorder ranges test to put RDRAM access first
-Merge DMEM,IMEM tests.

This seems somewhat faster in interpreter mode.