Handle mem= and vga= in the Linux kernel command line.