InlineSchemaContainer: fix bug with duplicate ids

Use a Map instead of an ImmutableMap.Builder to collect values (but still store
the final result in an ImmutableMap).

This means that if there are duplicate ids, the result is undefined, of
course...

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>