nixos/grub: Fix some silly perl struct accesses