Take BaseFont entry from CIDFont dict instead of Type 0 Font dict

Partially fixes https://bugzilla.mozilla.org/show_bug.cgi?id=767455 .
We shouldn't compare against BaseFont entry from Type 0 Font dict because it can contain arbitrary names as 9.7.6.1 is saying. And pdf.js spams warnings for those PDFs.