Fix overflow in memory block size computations

* Do the division first.
* It was unlikely to happen on 64-bit, but very likely on 32-bit!
* See #185.
Adapt GC test to have sensible heap size values