__pmInitLocks - change initialization
__pmInitLocks - change initialization

Previously we were using run-time initialization to ensure
__pmLock_libpcp is a recursive mutex.

As of Ubuntu 11.04 and/or NPTL 2.13 as reported by
    $ getconf GNU_LIBPTHREAD_VERSION
this was not working, and the mutex was being created as
a normal mutex, leading to deadlock with out inevitable nested
lock() calls form the one thread in libpcp.

So changed to compile-time intialization using
    PTHREAD_RECURSIVE_MUTEX_INITIALIZER
from <pthreads.h> if that macro is defined, else fallback to
run-time initialization.

adfernandes/pcp,ryandoyle/pcp_original,mbaldessari/pcp,tjanez/pcp,edwardt/pcp,tjanez/pcp,andyvand/cygpcpfans,wuliming/pcp,prasincs/pcp,wuliming/pcp,andyvand/cygpcpfans,wuliming/pcp,mbaldessari/pcp,edwardt/pcp,andyvand/cygpcpfans,ryandoyle/pcp_original,edwardt/pcp,mbaldessari/pcp,prasincs/pcp,adfernandes/pcp,edwardt/pcp,tjanez/pcp,aeg-aeg/pcpfans,prasincs/pcp,aeg-aeg/pcpfans,aeg-aeg/pcpfans,adfernandes/pcp,prasincs/pcp,tjanez/pcp,edwardt/pcp,wuliming/pcp,prasincs/pcp,adfernandes/pcp,ryandoyle/pcp_original,andyvand/cygpcpfans,edwardt/pcp,andyvand/cygpcpfans,ryandoyle/pcp_original,aeg-aeg/pcpfans,edwardt/pcp,adfernandes/pcp,andyvand/cygpcpfans,ryandoyle/pcp_original,aeg-aeg/pcpfans,andyvand/cygpcpfans,adfernandes/pcp,ryandoyle/pcp_original,aeg-aeg/pcpfans,tjanez/pcp,edwardt/pcp,wuliming/pcp,mbaldessari/pcp,mbaldessari/pcp,wuliming/pcp,aeg-aeg/pcpfans,prasincs/pcp,prasincs/pcp,adfernandes/pcp,tjanez/pcp,ryandoyle/pcp_original,tjanez/pcp,wuliming/pcp,prasincs/pcp,ryandoyle/pcp_original,aeg-aeg/pcpfans,wuliming/pcp,tjanez/pcp,adfernandes/pcp,mbaldessari/pcp,andyvand/cygpcpfans