[PATCH 6.7 177/309] pmdomain: mediatek: fix race conditions with genpd