glthread: don't declare unmarshal functions as inline