x86: Create weak init_cache() and default enable_caches() functions

--
Changes for v2:
 - Tweaked commit title
3 files changed