Protect against invalid lookup in vector of operand indices

* ld_ms has 4 operands but the operand in [3] is not a sampler and won't
  have any indices.
* Speculative fix for a crash report uploaded with a crash here on a ld_ms