rawspeed: preliminary fix for #9752

I received this fix from Klaus Post