GOP platform slams military’s focus on climate change