Previously we patched sys/wait.h to add it, but patch was removed in commit 387928034524 ("ndk-patches: remove wait3 patch from sys/wait.h") since busybox (for which the patch was added) no longer needs it. Let's patch the packages that actually needs this instead of ndk-headers, to keep track of which packages that need it. Fixes https://github.com/termux/termux-packages/issues/9257.