TRQ-2377. Make svr_evaljobstate() not change the job state for jobs
in an exiting or a completed state. Also make job_wait_over() not
alter states for jobs that are running, exited, or completed. This
fixes a race condition scenario for jobs with future execution times.