anykernel.sh: add basic exit statuses
- add exit codes to trigger the assert in the updater-script
- add ui_print function to write error message directly back to recovery
- compare size of dumped image and new image and abort if the new image is oversized for the partition