refs #6271. Fix GCC warnings.