Stack size tweaks for Erlang VM and CouchJS

These may be a stab in the dark, but I'm trying to work around
a problem that may be related to stack sizes.
https://issues.dp.la/issues/7486