build: for cmake, always use ccache from staging dir instead of relying on the host