Load plugins only if the symbol we're interested in is not there yet.

In cases the plugins are compiled into yosys already, and no shared
objects with the plugins exist, the tests would otherwise fail.

This makes it possible to have the tests behave the same whether the
plugins are compiled in or not.

Signed-off-by: Henner Zeller <h.zeller@acm.org>
33 files changed