Scotland back-row Jamie Ritchie will rejoin Glasgow Warriors this summer after just one season with French club Perpignan.