sds.c: Refactoring: create ds_sds_get_component_root_by_id
sds.c: Refactoring: create ds_sds_get_component_root_by_id

move part of function to another function

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