Fix check for pickup rules in advanced inventory.

`hasPickupRule` uses `item::tname()` (without any parameters) - just as it's done in game.cpp, it's always singular. Same goes for add / remove pickup rule.

Also recalculate both items list to update the autopickup status in the advanced_inv_listitem entries.