Niall McGinn equalised for Aberdeen in the final game of 2019 and the decade against Hearts at Tynecastle on Sunday.