fix APN not found since recent APN DB update
605c6eb0 introduced a bug on Android < 5.0: when a duplicate entry is found in APN's database, only the first is returned and sometimes it doesn't contain any useful information. This PR adds a check to be sure that the returned entry has the type MMS.