grub_legacy: refactor to avoid shadowing conf() function