refs #7445. Fix GCC warnings.