Fix NPE writting null MAP or ARRAY in HiveRecordSink