net: Fix net_ads.c build for the HAVE_ADS == 0 case.