mac80211: rework gpio chip/button support to build on platforms without CONFIG_GPIOLIB