fhdl/tracer: Import Python 3.5/3.6 version guards from Migen.