lockprof: retire lock_prof_skipcount
The implementation uses a global variable for *ALL* calls, defeating the
point of sampling in the first place. Remove it as it clearly remains
unused.
(cherry picked from commit fca5cfd584d81ca291dbd898a8ff60c52d8c3c42)