[GCChecker] add a few more know functions to lock list (#56573)
I ran into issues with glibc locally without these being specified, and
seems like trylock just works too, though perhaps that is just a lack of
accuracy from the checker since we have very few of those.