refs #7397. Fix GCC warnings.