intel/compiler: Add and use helpers for working with KSP indices