qapi: Restrict '(p)memsave' command to machine code