For years, human rights groups have been sounding the alarm about civilian harm caused by counterterrorism operations in Somalia.