Minor Sanity Check for power of two on textures.

Just a power of two check