Squash warnings on gcc.

Refs #10549