IR: Fix MDType fields from unsigned to uint64_t