Minor fix to GL texture cleanup

Don't clear any data if it's a dummy texture.