You can’t wish for more wishes from a genie, but you CAN wish for negative two wishes. Wishing for negative two wishes causes your number of wishes to become -1, which the genie interprets as 255, giving you 255 wishes.
Or like if you cannot wish for the genies themselves then to wish for all the magic lamps to be teleported or at least a...