test: Add `strerror` to locale-dependence linter
test: Add `strerror` to locale-dependence linter

Add `strerror` to the locale-dependence linter to catch its use. Add
exemptions for bdb interface code (false positive) and strerror.cpp
(the only allowed use).

Also fix a bug in the regexp so that `_r` and `_s` variants are detected
again.

GroestlCoin/GroestlCoin,AkioNak/bitcoin,particl/particl-core,andreaskern/bitcoin,jamesob/bitcoin,particl/particl-core,fujicoin/fujicoin,andreaskern/bitcoin,namecoin/namecoin-core,namecoin/namecore,sipsorcery/bitcoin,domob1812/bitcoin,tecnovert/particl-core,mruddy/bitcoin,jlopp/statoshi,lateminer/bitcoin,instagibbs/bitcoin,anditto/bitcoin,ajtowns/bitcoin,Xekyo/bitcoin,jamesob/bitcoin,GroestlCoin/bitcoin,instagibbs/bitcoin,sstone/bitcoin,GroestlCoin/bitcoin,GroestlCoin/bitcoin,bitcoinsSG/bitcoin,kallewoof/bitcoin,GroestlCoin/bitcoin,sipsorcery/bitcoin,instagibbs/bitcoin,ajtowns/bitcoin,jlopp/statoshi,domob1812/bitcoin,namecoin/namecoin-core,domob1812/bitcoin,sstone/bitcoin,fanquake/bitcoin,anditto/bitcoin,ajtowns/bitcoin,jamesob/bitcoin,particl/particl-core,andreaskern/bitcoin,kallewoof/bitcoin,jambolo/bitcoin,domob1812/bitcoin,sstone/bitcoin,kallewoof/bitcoin,namecoin/namecore,GroestlCoin/GroestlCoin,jamesob/bitcoin,Xekyo/bitcoin,bitcoin/bitcoin,AkioNak/bitcoin,bitcoinsSG/bitcoin,bitcoinsSG/bitcoin,kallewoof/bitcoin,namecoin/namecoin-core,jlopp/statoshi,namecoin/namecoin-core,instagibbs/bitcoin,particl/particl-core,mruddy/bitcoin,jamesob/bitcoin,anditto/bitcoin,bitcoin/bitcoin,instagibbs/bitcoin,namecoin/namecore,fujicoin/fujicoin,fujicoin/fujicoin,anditto/bitcoin,fujicoin/fujicoin,sstone/bitcoin,jlopp/statoshi,anditto/bitcoin,bitcoinsSG/bitcoin,namecoin/namecore,jambolo/bitcoin,AkioNak/bitcoin,namecoin/namecoin-core,jlopp/statoshi,sipsorcery/bitcoin,kallewoof/bitcoin,fujicoin/fujicoin,ajtowns/bitcoin,lateminer/bitcoin,Xekyo/bitcoin,bitcoinsSG/bitcoin,namecoin/namecore,bitcoin/bitcoin,bitcoin/bitcoin,AkioNak/bitcoin,instagibbs/bitcoin,andreaskern/bitcoin,tecnovert/particl-core,tecnovert/particl-core,GroestlCoin/GroestlCoin,domob1812/bitcoin,mruddy/bitcoin,fanquake/bitcoin,sstone/bitcoin,jambolo/bitcoin,bitcoin/bitcoin,fanquake/bitcoin,Xekyo/bitcoin,particl/particl-core,GroestlCoin/bitcoin,particl/particl-core,andreaskern/bitcoin,jambolo/bitcoin,Xekyo/bitcoin,tecnovert/particl-core,GroestlCoin/bitcoin,jambolo/bitcoin,GroestlCoin/GroestlCoin,Xekyo/bitcoin,jambolo/bitcoin,fanquake/bitcoin,sipsorcery/bitcoin,namecoin/namecoin-core,ajtowns/bitcoin,lateminer/bitcoin,mruddy/bitcoin,tecnovert/particl-core,fanquake/bitcoin,sipsorcery/bitcoin,anditto/bitcoin,sipsorcery/bitcoin,GroestlCoin/GroestlCoin,mruddy/bitcoin,bitcoin/bitcoin,namecoin/namecore,lateminer/bitcoin,tecnovert/particl-core,GroestlCoin/GroestlCoin,andreaskern/bitcoin,AkioNak/bitcoin,jamesob/bitcoin,sstone/bitcoin,mruddy/bitcoin,kallewoof/bitcoin,fanquake/bitcoin,domob1812/bitcoin,AkioNak/bitcoin,jlopp/statoshi,bitcoinsSG/bitcoin,lateminer/bitcoin,lateminer/bitcoin,fujicoin/fujicoin,ajtowns/bitcoin