Remove use of variable-length array in character conversion code.
Remove use of variable-length array in character conversion code.

Use `alloca` on platforms where it is available and fall back to heap
allocation with `std::unique_ptr` for other cases.

Fixes issue #127.

tgockel/json-voorhees,tgockel/json-voorhees