ASoC: soc-cache: Add error checking in the *_cache_sync functions