Add built-in debug malloc wrapper.