Fix comment spelling and tidy diagnostic call in profile reader.

No functional changes.