pothos-fpga: thread safety and initialization work