Keyguard: Remove redundant null pointer check

Change-Id: I296db71ff2ff64b7d65300fd51ae1f9d92facbd4