_g_module_self should use RTLD_DEFAULT when available
Submitted by Roy Marples
Link to original bug (#610490)
Description
_g_module_self should use RTLD_DEFAULT when available. Although not needed for NetBSD, it apparently is for FreeBSD and supplies a minor optimization.
Version: 2.23.x