This eliminates race conditions around unregistering netdevs. gnrc_netreg_lookup-style functions perform a DEVELHELP check on whether that lock is held.