fix signed left-shift overflow in pthread_condattr_setpshared