jpeg-turbo: support jpeg8

Closes #19787.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>