[openEuler-5.10 554/557] arch/cc: Introduce a function to check for confidential computing features