Rangers winger Barrie McKay has been ruled out for the remainder of the season after suffering a foot injury in the friendly against Linfield.