[PATCH 5.4 02/37] tee: handle lookup of shm with reference count 0