fdt: Add fdt_node_offset_by_compat_reg helper