AVRO-1433. Java: Fix compiler to not drop aliases when StringType is String.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1556982 13f79535-47bb-0310-9956-ffa450edef68