Move threads and graphite modules list to ARM:

Fixes compatability with BoardConfig.mk or simular

Signed-off-by: Paul Beeler <pbeeler80@gmail.com>
Move pthread and graphite modules list to vendor/psd (1/2)

Signed-off-by: Paul Beeler <pbeeler80@gmail.com>
Add C and CPP flag support for pthread