Aberdeen defender Andrew Considine has been ruled out for the rest of the season with a hamstring injury.