Remove some inconsistent guarding around cpucache_* functions to fix a test_codec...