In svr_dequejob separated check for pjob and pque after call to get_jobs_queue.
The previous compound preducate made it so the job mutex would still
be locked if pjob was not NULL and pque was NULL. Predicates are now separated.