[xla:gpu] Add IsContiguousSlice on Shapes instead of HloInstruction
[xla:gpu] Add IsContiguousSlice on Shapes instead of HloInstruction

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/10474 from elfringham:fix_literal 760978ed02c6f28cb13cc7775b85f9f28b48d977
