[PATCH openEuler-5.10 22/92] tee: amdtee: fix an IS_ERR() vs NULL bug