AVRO-1051. Java: Fix specific RPC so that method is found when parameters are a union of a primitive and null. Contributed by Hamed Asghari.