xmlsave.c: Prevent writing empty attr

When running a wine app an object was written <Elem ="">
This occurs when the attribute name is empty but there is a valid
pointer to it. By checking if the string is empty this is avoided.
10 jobs for empty_attr_eq in 19 minutes and 51 seconds (queued for 1 second)
latest