etna: a bit of reorganization

move data structure definitions from etna_pipe.c to
etna_pipe.h and etna_internal.h