[Passpoint] Changes required for bouncycastle update

Latest bouncycastle changed the return type of
ASN1InputStream#readTaggedObject from DERTaggedObject to
DLTaggedObject. Since the code verified that the returned object
is an instance of DERTaggedObject, Passpoint and the unit test

Updated the logic to check instanceof the new class, since
bouncycastle is statically linked with the Wi-Fi module.

Bug: 181193961
Test: atest ServiceProviderVerifierTest
Merged-In: I5c8af8f003c8ef4e442cfb581beb9a9b091219df
Change-Id: Ifd0990feee10456e083c7bbd3f5647347f12ba2a
2 files changed