[PATCH openEuler-5.10 v2 088/548] tee: fix put order in teedev_close_context()