fix for a NPE caused by a declaration that should be replaced but is not in DeclUseMap