[TF-M] [RFC] Can we remove the rule to use enum for error code?