Simplify code in tee_svc_cryp_obj_copy.