Remove unused thrift flags from scheduler

Testing Done:
./gradlew -Pq build

Reviewed at https://reviews.apache.org/r/22097/