fix return value of pthread_getaffinity_np and pthread_setaffinity_np
fix return value of pthread_getaffinity_np and pthread_setaffinity_np

these functions are expected to return an error code rather than
setting errno and returning -1.

chardi/musl,chardi/musl,chardi/musl