this will rewrite total paths to be relative to CCACHE_BASEDIR before caching, helps prevent cache misses due to changed wrksrc with build systems like cmake that use total paths in their Makefiles