A depleted Scarlets earned their first win of the season against out-of-sorts Glasgow in the United Rugby Championship (URC).