The point wasn't that this would have helped Qmail - Musl didn't exist back then for that matter -, but that running into the 512 byte limit and needing TCP fallback was already a thing. Bumping a buffer size is far less effort than having to replace the resolver.
Qmail's issue was a hardcoded buffer size so this patch to musl wouldn't have helped.