x86: cpa, only flush the cache if the caching attributes have changed