OPENGL: Release old texture name before creating a new one.

This should make sure that all unused texture names get properly freed on run
time.