New OCE_DISCARD_DLL_LOADING option

When linking statically, some parts may still load shared libraries at
run-time.  When this option is set, OSD_SharedLibrary::DlOpen becomes
a no-op, and thus shared libraries can no more be loaded.

This is implemented only on Unix for now.