[Devops] Install newer CMake version (#21585)
Ubuntu 22.04 has a really old CMake version installed by default, so add
the Kitware PPA so we can have a newer one, which is useful for
detecting system OpenCL installs.
Also add some missing `set` lines so we don't miss any script errors.
Signed-off-by: Nick Sarnie <nick.sarnie@intel.com>