gpio: set callback pointer to NULL by default

If callback wasn't used, it's value is undefined and causes segmentation
fault, when trying to free a gpio.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>