Use this macro where possible and simplify the checks in a couple of places where it isn't (because we're checking for an exact glibc version). No real changes.