test/rilmodem: Fix serial number check

Only compare to the emulator's hard-coded serial number when
the '--emulator' argument is given, not when testing in real
hardware.
Merge pull request #98 from marttipiirainen/master

test/rilmodem: Fix serial number check