[PATCH openEuler-1.0-LTS 3/3] tee: handle lookup of shm with reference count 0