bionic: Add NASTY_PTHREAD_CREATE_HACK

This is a workaround for bad linkage of proprietary libs on certain
devices. Thanks to Zinx for tracking it down.

Cherry-picked from
https://github.com/SimplicityCM/android_bionic/commit/1fa592d4b5254bf1ce614f4362b8e88a71335abd

Change-Id: I22ba908892e9ffd119d30501a169a00c546a0592