AC-7188. Fix some valgrind issues.

Fix an uninitialized variable problem.
Also stop storing pointers to job usage info. In some race conditions the lock on the node is lost and
the job usage info object changes from beneath us.