x86/grub2: move grub2 image creation to package