[PATCH 4.4 11/35] squashfs: add more sanity checks in id lookup