DICOM: fix byte skipping for >8 bit data

As noted in the comments, this adjusts the byte skipping as needed to
ensure that each plane has the correct number of decompressed bytes.

Fixes #12624.