`strlen` returns a `size_t` and `alloca` expects a `size_t`. (cherry picked from commit 35207e25) (cherry picked from commit 3c2e5888)