Revert "Add overrides for encoder/decoder transforms to GenCodec"

This reverts commit ed96c27d83e3bdebee68c638d75e36cc5dcc332f.