std.os: fix error codes for execve

execve can return EBADLIB on Linux. I observed this when passing
an x86_64 interpreter path to qemu-i386.

This error code is Linux and Solaris-only. I came up with an improved
pattern for dealing with OS-specific error codes.
877a1f2a29Andrew Kelley committed on 12/15/2021, 9:23:32 PMparent3532abe
1 file changedLine totals unavailable