Add MessageOrigin to OnVarsChanged.

Refs #6187
Refs #5219