add initial support for OpenBSD (#53633)
These commits add initial support of OpenBSD in julia.
It isn't strictly enough to make julia runable on OpenBSD (see #53632),
but it covers the larger part.
---------
Co-authored-by: Max Horn <max@quendi.de>
Co-authored-by: Oscar Smith <oscardssmith@gmail.com>