Better handle material texture layers

Prevents a crash when a material's texture layer is marked as in use, but neglects to specify an actual texture. This can occur with the dn\dn_ghost.nif mesh from the Greater Dwemer Ruins mod.