regulator: fix: Move code to enable gpio regulator to pre_probe from ofdata_to_platdata