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