Fix segmentation fault
Fix segmentation fault

The function call oscap_reference_get_href(ref) can return NULL
because href attribute of reference element is optional.

OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap