gpio/omap: fix broken context restore for non-OFF mode transitions