gendb: use reg32 with length attr for  simple arrays
gendb: clean up VB, VE, and SO_DECL