Ethiopia says planned attack on giant dam project thwarted