Fix grub 40_custom template

`update-grub` command doesn't honor `GRUB_CMDLINE_LINUX` and `GRUB_CMDLINE_LINUX_DEFAULT` options.