Scott McTominay has revealed he needed to have his heart “shocked” two days before Scotland's World Cup opener against Haiti.