thread: increase stack size in debug mode
thread: increase stack size in debug mode

Debug mode requires a large amount of stack, since the sanitizer
disables stack slot reuse, inserts padding between stack variables,
and does not inline. This was already recognized in 7d5599227ca2
("Allocate more stack when we have both asan and optimizations"),
but only for sanitize mode. It was observed recently on debug mode
too (on aarch64).

To prevent stack overflow, increase stack size in debug mode too.
Message-Id: <c1bbe250d23568c2c530580c0f706f11c46cb969@scylladb.com>

cloudius-systems/seastar,syuu1228/seastar,cloudius-systems/seastar,avikivity/seastar,scylladb/seastar,dreamsxin/seastar,dreamsxin/seastar,avikivity/seastar,cloudius-systems/seastar,scylladb/seastar,scylladb/seastar,syuu1228/seastar,syuu1228/seastar,dreamsxin/seastar,avikivity/seastar