Add a test to see if the arb texture compression is defined before querying the number of compressed texture formats.