[LPC2148] Fixes malloc implementation