Change Android toolchain and platform version.
libusb: Fix usb_devs_lock mutex use after free in libusb_init error path

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hotplug: Remove device from usb_devs before signalling its removal

If we write the remove event to the pipe before doing the list_del,
in theory another thread can process the event and unref the device before
it has been removed from usb_devs.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Merge branch 'master' of https://github.com/libusbx/libusbx
Revert "Change Android toolchain and platform version."

This reverts commit ddb33dbfa729481ab368e098a54ade9c76d23c0b.
Revert "Enable building on all Android architectures, including MIPS."

This reverts commit 39440594036a821fe00b0c417b14233ba513578c.
Enable building on all Android architectures, including MIPS (working around an MIPS NDK linker bug).