[PATCH 4.19 02/27] tee: handle lookup of shm with reference count 0