dt_imageio_open_rawspeed(): better levels handling
Fixes DNGs from ML cr2hdr.

Thanks to <rwh> and <hal9k_> for making me notice it.