8.4.9. do_sizecheck

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