Witnesses in Somalia say gunmen have killed the head of an orphanage near the capital , Mogadishu .