CAPI: Fix locking around capiminor's output queue and drop workaround_lock