build/lattice/prjtrellis: generate iowrapper to set constraints and TRELLIS_IO