Finite-Size Effects in the Transition from Hexagons to Rolls in Convective Systems