Mostly for vendoring of future fluidsynth versions.
-- v2: libs/fluidsynth: Use InterlockedExchangeAdd() in g_atomic_int_add(). libs/fluidsynth: Return thread return value from g_thread_join(). libs/fluidsynth: Fix definition of g_atomic_int_dec_and_test(). libs/fluidsynth: Fix argument flag handling in g_file_test(). libs/fluidsynth: Round up sleep duration in g_usleep(). libs/fluidsynth: Use full memory barrier in g_atomic_int_get(). libs/fluidsynth: Fix double close of thread handle in g_thread_unref(). libs/fluidsynth: Fix g_mutex_init() and g_cond_init().