Add the subprogram DIEs to the context they're created with only
if they're a declaration, otherwise they're owned by the compile
unit.
Add the context that a function was created in as the context for the
function, not the context of the context.