Support comparing state record elements with OVAL state
Support comparing state record elements with OVAL state

Some probes can produce an OVAL item that contains a record element. In
some OVAL tests the OVAL state contains record element. To evaluate the
OVAL test, we need to compare OVAL state with OVAL item. Therefore we
need to compare the record element in the OVAL state with the record
element in the OVAL item produced by probe. Unfortunately, the 2 record
elements comparison have not been implemented in OpenSCAP yet, so I have
done a basic implementation of the 2 record comparison in this commit.
See
https://oval.mitre.org/language/version5.11/ovaldefinition/documentation/oval-definitions-schema.html#EntityStateRecordType
I have checked this code with Windows WMI57 probe.

Addressing:
Definition oval:mil.disa.stig.windows:def:165: error
OpenSCAP Error: OVAL internal error: found NULL entity value
[C:\devel\openscap\src\OVAL\results\oval_resultTest.c:463]

OpenSCAP/openscap,jan-cerny/openscap,redhatrises/openscap,jan-cerny/openscap,redhatrises/openscap,redhatrises/openscap,OpenSCAP/openscap,jan-cerny/openscap,jan-cerny/openscap,OpenSCAP/openscap,mpreisler/openscap,redhatrises/openscap,redhatrises/openscap,OpenSCAP/openscap,jan-cerny/openscap,mpreisler/openscap,OpenSCAP/openscap,mpreisler/openscap,redhatrises/openscap,OpenSCAP/openscap,mpreisler/openscap,mpreisler/openscap,jan-cerny/openscap,mpreisler/openscap