[DDMD] [REFACTOR] Move FuncDeclaration::isBuiltin into a free function