Finite-size rounding of first-order transitions