gba_memory.c - some cleanups