Only use pthread_setname_np on Android >= 9 (2.3)

Older versions of Android don't have this function.

Review at https://rbcommons.com/s/OpenH264/r/869/.