Hyperbolicity of a model for polyatomic gases in relativistic extended thermodynamics