[patch 02/14] squashfs: add more sanity checks in id lookup