Effects of gallium and arsenic substitution on the electronic and magnetic properties of monolayer SnS