Added declaration of pal_malloc_impl_v2. It will take in more arguments
for function name, file name and line number.