Use goto for error handling in c_generic_encode().
Use goto for error handling in c_generic_encode().

didier-barvaux/rohc,didier-barvaux/rohc,didier-barvaux/rohc,didier-barvaux/rohc,didier-barvaux/rohc