[LLVM] truncate object id to handle LMDB restriction

@benbjohnson