scheduler: fix rq->lock recursion