Don't try to set thread scope and scheduling policy on android

These APIs aren't implemented on android.
Merge pull request #458 from mstorsjo/android-threading

Don't try to set thread scope and scheduling policy on android