Offsets for multi-component pixel types are already handled in GetPixelValueByIndex.
Merge branch 'bug-18110-fix-rgb-offset-calculation'