More string sharing in the build graph.

This reduces the size of the build graph by another ~30%.

Change-Id: Ic796df8cfe7c150a86aef3de70f6280b296d0399
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>