Export var_check in OVAL object when var_ref is present

Fixes validation issues with schematron, such as:

oval:mil.disa.fso.redhat.rhel6:obj:3184 - a var_ref has been supplied for the
ind-def:pattern entity so a var_check should also be provided