fix NPE in AvroScheme.hashCode()

Change-Id: If6c401b1a9ccbcf4f0f350b91c8a6bdd01748d9c