update xsupplicant to latest upstream version and fix a compile error