8.4.11. do_sizecheck

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