PkgC: Make sure we don't use deleted stack objects The cmPkgConfigEnv* of cmPkgConfigResult would point to a deleted stack copy. This can causes issues when cmPkgConfigResult::Libs() is called and we have to fall back to querying the env.