Andy Considine extends Aberdeen contract to 2022