Refactor: extract function oval_probe_query_extend_definition
Refactor: extract function oval_probe_query_extend_definition

This commit only moves a block of code to a new separate static function.

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