Eliminate some bounds checks in IDCT (#167)
Eliminate some bounds checks in IDCT (#167)

Convert a debug assert into an actual bounds check to use as an optimizer hint.

Eliminates a bunch of bounds checks and should speed things up.
Support older rustc, hence no try_from or type changes.
image-rs/jpeg-decoder