KAA-242: Use KAA_CALLOC macros to allocate memory for Avro-generated records.
KAA-242: Fix merge conflicts.