Check for strnlen and provide it if it is not found.
Include missing config/bitcoin-config.h.
Merge pull request #5340

c8ed613 Include missing config/bitcoin-config.h. (Pavel Janík)
494f6e7 Check for strnlen and provide it if it is not found. (Pavel Janík)