Move the TypeMap lock to a member on LLVMContextImpl.