[PATCH 5.15.y] pwm: mediatek: Ensure to disable clocks in error path