Ensure that the no-throw variants of new and new[] have the same behaviour as the throw variants in case of overrides.
Ensure that the no-throw variants of new and new[] have the same behaviour as the throw variants in case of overrides.

This fixes two tests in the libc++ test suite in cases where the libcxxrt versions of new and delete are used in preference to the libc++ ones:

new.delete.single/new_nothrow_replace.pass.cpp
new.delete.array/new_array_nothrow.pass.cpp

Patch by Joerg Sonnenberger.

xin3liang/platform_external_libcxxrt,sudosurootdev/external_libcxxrt,cemeyer/libcxxrt,sudosurootdev/external_libcxxrt,vegard/libcxxrt,xin3liang/platform_external_libcxxrt,vegard/libcxxrt,sudosurootdev/external_libcxxrt,cemeyer/libcxxrt,vegard/libcxxrt,xin3liang/platform_external_libcxxrt,cemeyer/libcxxrt