Okay, once again be caught by the blasted hwloc inability to cleanly handle caches. Protect the calls to get_depth by first checking to see if it is a "cache", then use a cache-specific function to get the stupid data. Very, very irritating.

cmr=v1.7.5:reviewer=jsquyres:subject=treat caches as something different yet again