Cleanup the NX3000 decoding code from dcraw