malloc: fix heap size not set on init