Fix driver warning about -pthread on Android.

-pthread is no-op on Android. Suppress the unused argument warning.