Add additional pthread support

Signed-off-by: Paul Beeler <pbeeler80@gmail.com>
Revert "Disable graphite for shared libraries"

This reverts commit 7b86ff58bb4ce66dd5d17dc56353fea958b93ca2.
Remove graphite restrictions and make using sabermod toolchains a req.
Remove LOCAL_DISABLE_GRAHPITE:

LOCAL_MODULE already gets cleared in clear_vars.mk which is what we
should be using when enabling/disabling various GCC flags
Add graphite flag -floop-flatten

Signed-off-by: Paul Beeler <pbeeler80@gmail.com>
Merge remote-tracking branch 'aospal/kitkat' into kitkat

Signed-off-by: Paul Beeler <pbeeler80@gmail.com>

Conflicts:
	core/binary.mk
	core/shared_library.mk