gsm: Partially fix the gsm.h/libgsm handling