Fix UnusedImportRemover to traverse package annotations

Previously we just noted the type of the annotation, but we then
considered types from annotation properties as unused and removed the
imports, resulting in errors downstream.

Bug: issue 8425
Change-Id: Idfa9430fd60cc7dea2069a8d860d6de078b6ca16
(cherry picked from commit a1386874fea70e012a3817c8b36d700366513402)
2 files changed