srec: Fix srec using new AudioRecord API.

This fixes linking and building with -fpermissive too.

Change-Id: I75068f2808208230bf72719648f92e46f0deb6c0