[1.7.x] Corrected --noinput docs for makemigrations; refs #23407.

Backport of 450a616004 from master