[coreboot-gerrit] [S] Change in coreboot[main]: device: move is_domain0 and is_dev_on_domain0 to common code