coredevice/gpio: replace set() with on()/off() to make API consistent