If a patient has an open gunshot wound to the chest with gurgling noises, labored breathing, and cyanosis, what is the first priority of treatment?