util: host program to generate ecc test patterns