[PATCH 5.18 313/879] device property: Allow error pointer to be passed to fwnode APIs