Generalized scaling for models with multiple absorbing states