Back from vacation.
You're right, we need to update to the latest libraw libraries. I tried downloading the "binaries" for various OSes, but there are no precompiled files (".dylib" on Mac) available, and when compiling I end up in a never ending list of errors due to missing 3:rd party build tools. I'll eventually get there, but if anyone can manage delivering precompiled ".dll", ".so" and ".dylib" files for Windows, Mac and Linux, it will save me a lot of time.
Can you pass the images in this thread to the libraw developers for inspection?
Sorry, but I'm not the right person to tackle this. I know nothing about RAW images, and nothing about LibRaw. I'm pretty sure that they would immediately try to engage me in a conversation in which I wouldn't have the slightest idea what they were talking about, or in which they would want to know things like how my iOS device is configured (a challenge, since I don't own one), or how I'm compiling this into my application (another challenge, since I'm not doing that, and wouldn't know how to).
I'm going to have to leave this to someone else. Perhaps the OP would like to venture into it?