Fix crash in cd-iccdump by working around an lcms2 bug

cmsReadRawTag(hProfile, sig, buffer, sizeof(buffer)) actually writes past the
end of the buffer, rather than respecting the BufferSize argument.