Actor, 38, opened up about changing his lifestyle after being at ‘high risk’ of a heart incident