Turn some sound macro functions in gba_memory.c into real functions