First-order transition in the l-component spin model with Gaussian random field