MDL-41460 core_component: Validate cache against version.php