Grub: handle "foreground" option

Fixes RHBZ#1059383