The mean-field scaling function of the universality class of absorbing phase transitions with a conserved field