Add line number information to config verification error messages.

Refs #4967