libopenjpeg: support decoding with bits per pixel greater than 8