Israel's military says fired "warning shots" as crowds gathered around aid lorries but was "not aware of any casualties" from its fire.