c_gpio: build fix for musl libc

caddr_t is a legacy BSD type which was rejected by the POSIX standard.
Use void * instead.

This solves a build failure with musl libc.

Fixes #40