v.23.5Build/Testing/Packaging Improvement

Pull idxd-config build description into separate CMake file

Pull build description of idxd-config into a separate CMake file to avoid accidental removal in future. #49651 (jasperzhu).