Fix gpio retrieval

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>