yosys-synlig: fix compilation with Yosys 0.37
Discussed in
https://github.com/NixOS/nixpkgs/pull/281384
This is filed as upstream issue
https://github.com/chipsalliance/synlig/issues/2299
... and addressed in this pull request
https://github.com/chipsalliance/synlig/pull/2300
Patched into this nix package.
Co-authored-by: Luflosi <luflosi@luflosi.de>