Modify mm_util_resize_image() API to receive allocated buffer and buffer info