fix bcm4329 unused variable warning without -DAP_ONLY