Enabled macro pal_malloc to use the new API pal_malloc_impl_v2