[PATCH 24/36] qemu_firmware: Simplify handling of legacy paths