rawspeed: import svn r596 (for Canon G16)
(cherry picked from commit 62cceb64d5ee2ff25460350de45e9e06543faf54)
adobe_coeff: Canon PowerShot G16 matrix
(cherry picked from commit 79488d85f625af45f1fcf81c6cd102689fd33942)
prevent crash when exporting exactly 9 images

Apparently our fraction calculations yeld results >1.0 for some specific number of images
(cherry picked from commit 7e6a13a1f635ef49d54589951d94662e5051c71d)