ni_labpc: Release spin-lock in labpc_ai_cmd returns an error.