inventory::add_item: Do not force reallocation if item->type == item->type && invlet != invlet