afifo: fix request_samples on the last frame in certain cases