intel: Refactor the wrapping of textures with renderbuffers