Bug 979595 - SIGFPE/hang in emulated camera on rapid start and stop, r=mwu

The change to EmulatedFakeCameraDevice.cpp prevents the SIGFPE crash; the change to EmulatedCameraDevice.h prevents the hang.