Online Statistical Inference of Constrained Stochastic Optimization via Random Scaling