Bugfix: GPIO pin status is reset on reading.

see http://raspberrypi.stackexchange.com/questions/12429/gpio-pin-status-is-reset-on-reading