Hard rectangles near curved hard walls: tuning the sign of the Tolman length