IRReader: don't mark MemoryBuffers const