src/libpcp/src/lock.c: add #if guard (coverity)
src/libpcp/src/lock.c: add #if guard (coverity)

Coverity found some dead code that needed a #if ... #endif wrapper.

adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp