The dex cache may contain erroneous classes. Filter, instead of DCHECK. Bug: 27500691 (cherry picked from commit 4309f612) Change-Id: Ic99bca3a7e54a5e7893c801ec5ac92cbf690cd67