osmesa: remove old renderbuffer before adding new