Convert extract_lsdump to python3 am: 97e65cac9f

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

Change-Id: I88109b0eae08b70dabd7eb43ff70fa609cb78da3