linux-mainline 3.8: add DT GPIO helper

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>