Make LexicalUnitImpl immutable (#13630).

Change-Id: Ia4f6052e83d9fb0e3d45c506c8a4dab36284bf31