Glasgow stand-off Duncan Weir has been ruled out for the rest of the season after suffering a leg injury during Friday's 35-17 win over Ospreys.