Fix some compiler warnings

Refs #10324