Effects of effective potential on g-factor in Si inversion layers