Fix compiler warnings.

Refs #5823