Watch Sam Cosgrove score twice, Connor McLennan and Max Lowe were also on the scoresheet as Aberdeen thrashed St Mirren in their biggest league win since March.