Avoid nonsensical error message if kernel load size is too big

Signed-off-by: Alex Smith <alex@alex-smith.me.uk>