Silence _BSD_SOURCE warnings in glibc 2.20 and forward

See https://sourceware.org/glibc/wiki/Release/2.20#Packaging_Changes

This change should probably go into hiredis as well.