D157096 introduces a new verifier for debug location
on call operation. isDeclaration() is actually not defined
for LLVMFuncOp and default to the interface definition that always
return false. This leads to wrong diagnostic in some case as shown in the added test.
Use callee.isExternal() instead that returns the
desired information.
We have seen this error being triggered during flang codegen.
NIT: There is no need to forward stderr to stdout here, right?