Fix a few more coverity complaints.
Merge branch 'master' of https://github.com/adaptivecomputing/torque