Convert extract_lsdump to python3 am: 97e65cac9f am: ca338da6d4 am: a8a0229694 am: 46f019857e

Original change: https://android-review.googlesource.com/c/platform/test/vts-testcase/vndk/+/1346264

Change-Id: I3f2e77064f8aff8afbf4129a1f651ebb15c10134