Replace parseAsn1Time with ASN1_TIME_to_time_t

parseAsn1Time incorrectly subtracted an extra 1900: `tm.tm_year -=
1900;`. Replacing the function with a library function.

Bug: 475661238
Test: atest VtsHalIdentityTargetTest
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:b9fe71f75310c3d1635c9f658a5285453ab90f76
Merged-In: Ic9ce2e37d1a204055937b8c0bcd9a7206aa602ca
Change-Id: Ic9ce2e37d1a204055937b8c0bcd9a7206aa602ca
2 files changed