rename DATA_FREE() to DATUM_FREE()
prevent using struct data_st in codecs, it's only for use in map file
remove internal API for struct data_st