Use NamedFunction/AddFunction for llvm.dbg.declare.

This removes the need for C++ glue code.