gl/texture: Make non-resident in destructor

! Remove texture from video memory when it is destroyed; apparently this
  isn't done automatically for whatever reason