[MP] Rend2: Fix for crash when using NV drivers.

Passing NULL to glTexSubImage2D on Nvidia drivers generates a segfault.
Adding a guard prevents this.

This commit also adds some extra checks so that mipmaps aren't generated
when creating an immutable texture with NULL data.