net: remove incorrect assertions
This assertion relies on the 80e60e236d85d change ("ifnet: make if_index
global"), which is not present in stable/13.
This fixes the LINT build (and any configuration with INVARIANTS)
Reported by: Dimitry Andric <dim@FreeBSD.org>