Fix code generation problem for CTW and CTB for case where char size is word size.