lavc/audiotoolboxenc: fix dropped frames on iOS