`strlen` returns a `size_t` and `alloca` expects a `size_t`. (cherry picked from commit 35207e25)
mentioned in commit 977a6163