extcon: Fix missing locking when [un]registering notifiers