x86, boot: correct sanity checks in boot/compressed/misc.c