gpio: mvebu: make pwm .get_state closer to idempotent