[PATCH v3 8/8] treewide: Replace the use of mem_encrypt_active() with cc_platform_has()