wl1271: Check vif for NULL when indicating beacon-loss