Fix bug in attribution pass: imported constant decls not attributed