core & ldr_gb: fix memory area bank handling