use spin locks by default and added pthread_spin_lock as option with USE_LOCKS=2

Signed-off-by: Mark Kelly <mark.kelly@lexisnexis.com>