linux.config: enable XTS for luks usage

allows to use aes-xts-plain64 cipher

a good guide is on http://www.funtoo.org/Rootfs_over_encrypted_lvm
write-hd-image: use better quoting for run_echo

stolen from musl's configure script
write-hd-image: check if a kernel exists