SPARK-1121: Use 'avro' profile in Maven.

This lets us explicitly include Avro based on a profile for 0.23.X
builds. It makes me sad how convoluted it is to express this logic
in Maven.