Finite-size-scaling study of a two-dimensional lattice-gas model with a tricritical point