[SeaBIOS] [QEMU] [PATCH v4 6/8] bootdevice: Refactor get_boot_devices_list