protobuf-c/protobuf-c.c: add return code check to merge_messages calls