The default ephemeral port range on OpenBSD (1024-49151) overlaps with the test framework's static port range starting at TEST_RUNNER_PORT_MIN, the same way FreeBSD's does (see #34346).
Extend set_ephemeral_port_range() to OpenBSD. The socket option and its values are identical to FreeBSD's, so only the platform check changes.