Magpies' Mayne calls time on AFL career