do_sizecheck
Checks the size of the kernel image against KERNEL_IMAGE_MAXSIZE when set.
KERNEL_IMAGE_MAXSIZE