i915g: don't destroy a texture buffer if it's NULL.