net/slirp: Convert atoi to qemu_strtoi to allow error checking