common: remove unaligned access error in bootmenu_getoption()