Bug 974260: fix potential xpcshell errors in test_ril_worker_icc.js when RILQUIRKS_V5_LEGACY is set to true. r=yoshi