[DDMD] [refactor] Move FuncDeclaration::interpret into a free function

Trivial.