hostapd: fix build error on some variants with CONFIG_WPA_RFKILL_SUPPORT=y (#17765)