Global attractor for a model of extensible beam with nonlinear damping and source terms