pthreads: fix `NativePthread::equal`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
pthreads: delete `NativePthread::attr` as it is not portable and unused

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>