Support intercepting "aliased" functions, for use when a function's name is rewritten by a macro (e.g. wait on OS X is rewritten to \01_wait).

Intercept tmpnam() and wait().