Do not output a deprecation warning for local references.

It is recommended by the Xtext team
(https://git.eclipse.org/r/#/c/31672/).