smt2: Make write port array stores conditional on nonzero write mask