Fix data race in decodeStruct
Fix data race in decodeStruct

Using *reflect.StructField as map key results in a data race. I honestly
do not understand why yet and can only reproduce this in the consul
codebase with high concurrency but this patch fixes it.

The same problem also exists in hashicorp/hcl.

mitchellh/mapstructure