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

These APIs aren't implemented on android.