StateMachineObituary: Fix LogRecs out of order

StateMachine.copyLogRecs() may not return logs
in order since it is a circular buffer.

Instead, use getLogRec(i) which returns entries
in order.

Bug: 183861582
Test: Verified result of `adb shell dumpsys wifi`
Change-Id: Ieaf5a953d91270709a0ecf5b6108b867cff3a7a0
1 file changed