Introduce support for custom wrappers for vararg functions.

Differential Revision: http://reviews.llvm.org/D5412