make malloc_size implementation align with malloc Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I8d7781925f06e58a880437a16569dccbfd2ea035