The Mission Impossible star explained how learning about his diagnosis put his childhood behaviour in perspective