[PATCH 5.15 073/245] pmdomain: mediatek: fix race conditions with genpd