Rawspeed fixes resulting from coverity scan

Fix a bunch of coverity warnings in the rawspeed code. Most of these are harmless. The largest part of the patch is a cleanup of the CIFF parser and using BitPumpMSB instead of the dcraw code for the new encoding in the SrwDecoder.