[coreboot-gerrit] Patch merged into coreboot/master: acpi_device: Move power resource function to generic code