[coreboot-gerrit] Patch merged into coreboot/master: commonlib: Add function to compute relative offsets from two region_devices.