[aot] Increase a buffer size to avoid an assert. Fixes #16239.