AVRO-759. Java: Fix NullPointerException when some but not all fields are aliased. Contributed by Xiaolu Ye.