grub2: fix crash issue when setting theme background