OMAP: GPIO: clear/restore level/edge detect settings on mask/unmask