dm: core: Add device checking to syscon_get_regmap()