[utils] Fix mono_valloc and mono_valloc_aligned malloc-based implementation.