St Mirren captain Steven Thompson says he is "mortified" after 'spearing' team-mate John McGinn in a training ground prank.