Debug info: Fix PR22296 by omitting the DW_AT_location if we lost the