[PATCH 5.4 03/24] regulator: core: avoid regulator_resolve_supply() race condition