AAudio: Fix counting of written / read frames for legacy input

Add necessary calls to update counters

Bug: 38396189
Test: nativetest/CtsNativeMediaAAudioTestCases*
Change-Id: Ic9636d61766db1c7b88c941e9a1018fccb5f1e88
1 file changed