[libcxx] Use alias for detecting overriden function (#114961)

This mechanism is preferable in environments like embedded since it
doesn't require special handling of the custom section.

GitOrigin-RevId: 62bd10f7d18ca6f544286767cae2c9026d493888
1 file changed