slirp: Improve error handling in slirp_smb