Fix the logic in r298585: shm_prison_cansee returns an errno, so is the opposite of a boolean.
PR: 48471