Fixing overloaded virtual warning.

@friedmud, I think the threadJoin() function prototype was wrong,
it took a UserObject reference before... this was also part of the
warning and is addressed by the patch.

Refs #1777.