api: correct mistake in gpio.hpp

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>