Use of magnesium in traumatic brain injury