AudioFlinger: add check for NULL mInput in MMAP Thread

exitStandby() was crashing if headphones were
unplugged between the open and start of a MMAP stream.

Bug: 120564294
Test: see repro steps in bug
Change-Id: Ic42743682ffeb48f2869eaa90581b4e4f7fcb1ab
1 file changed