llvm: correct calculation of index of zero-bit field

If the field comes before any non-zero-bit field then the index of
the next field should be returned.

Closes #13363
d2cc55109aVeikka Tuominen committed on 11/11/2022, 3:59:53 PMparentc446555
2 files changedLine totals unavailable