Fix some errors in objectinspectors
Use ensureCapacity when resizing in ParquetHiveArrayInspector
Inspect keys only for a few types in parquet hive maps