configure: Move -Wno-maybe-uninitialized check into gcc section