gpio: [cc/h] fix baton and setup/teardown arg parsing