cmd_mem: call unmap_sysmem() after map_sysmem()