s4/lib/wmi_wrap: use HAVE___ATTRIBUTE__ instead of __GNUC__