Refactor: Extract function oval_probe_query_criterion
Refactor: Extract function oval_probe_query_criterion

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

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