[automerger skipped] Correct the resynchronization sequence in case of chained frame. am: a8ade95d4b am: 9ff93c0337 -s ours

am skip reason: skipped by user georgekgchang

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/st/secure_element/+/12315282

Change-Id: I6f42b40e2b8db3eb59c97501f8f7a7965cfbf078