pinctrl: stmfx: update the result type of dm_i2c_reg_read