Disable RTLD_DEEPBIND on all PHP SAPIs except for apache
This pull request changes the default behavior of dlopen to use RTLD_DEEPBIND only when compiling the Apache SAPI.
This fixes compatibility with custom allocators like jemalloc on newer glibc versions, while still retaining the old DEEPBIND behavior for apache, which seems to have been the reason why it was added.
Also see https://github.com/php/php-src/issues/10670, https://github.com/php/php-src/pull/11094, https://github.com/php/php-src/pull/16779