libc-compat: add new symbol that's now needed

Rebased-From: 565e569
From Bitcoin 49df14: Added new ctor and dtor for length_error(), tested on old Linux VMs with gcc 4.1.2, glibc 2.5-118
Merge pull request #712 from michilumin/1.8.1-dev-libc-compat

1.8.1 dev libc compat