Finish fixing migrate-cma.c.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>