[libvirt PATCH v2 04/56] src: remove usage of strchrnul function