[1.6.x] A couple more semicolon -> colon fixes; refs #18134.

Backport of 3632d289de from master.