glx/drisw: return false if shmid == -1