fw_cfg: ignore suffixes in the bootdevice list dependent on machine class