systemverilog: visit_object only when debug or report flag
systemverilog: visit_object only when debug or report flag

Signed-off-by: Kamil Rakoczy <539d6a2650324aa9156edbbb09228193dfee5b9b@antmicro.com>

chipsalliance/yosys-f4pga-plugins,chipsalliance/yosys-f4pga-plugins