[PATCH 4.19 22/24] squashfs: add more sanity checks in id lookup