grub2: fix logger interface