Guard against cyclic entity dependencies

...in unoidl-read, although it would be better (but more expensive at start-
up) to check consistency in unoidl::Manager.

Change-Id: I5f5894fcd51af3aa999fe30621f52bfd11d0e610