libgsm: Split decoder and encoder

Signed-off-by: Diego Biurrun <diego@biurrun.de>