Fix ambiguity error on intel compiler.

Refs #10169