audio encoders: fix initial timestamp

Use timestamp from the first non-empty work, not the very first one
which may be empty with an invalid timestamp.

Bug: 123428627
Test: atest CtsMediaTestCases:MediaRecorderTest
Change-Id: I50f68765355b1fd3af4241adad0c6199fd7b4de8
5 files changed