[lib][heap] fix fatal crash with DEBUG_HEAP on

DEBUG_HEAP would wipe out the allocated block immediately,
which would crash heap_delayed_free(). Add boolean to allow this
behavior to be skipped during delayed free. Also causes initial
bootstrap of heap to go faster by not completely filling it.
[scripts][qemuarm] make sure the emulated machine has 256MB of ram