Merge pull request #11720 from rexboy7/fix-bug906981

Bug 906981 - [Lockscreen] Check if mozTelephony exists for desktop build(cherry picked from commit b5a447c963ec165ffb7102c9a53c00d51f10b3a2)