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

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

Change-Id: I7d4c0076f7e1206f7f48699f4046dd2fff081593