After debugging GBA code using Insight or GDB VBA will
crash on exit. This is due to writing outside the
boundaries of the memory block allocated for the screen
The attached patch fixes the problem but is not ideal,
really the memory allocation should all be in a single
place rather than a set of mallocs for each VBA version.