Fix bug in linker environment variable lookup.

The linker_env_get() method that is used to match an environment
variable was failing due to an incorrect equality check.

This  was introduced in git change
be5755969d70668bbab0e0c0ed75ebd867189723.

The bug was causing the linker to ignore environment variables such
as LD_LIBRARY_PATH. This issue also affects the linker_env_secure()
path that removes unsafe environment variables, since it would
not match any in the unsecure variable list.

Change-Id: I169024de4a005321e768accd38246fc1d717271b
diff --git a/linker/linker_environ.c b/linker/linker_environ.c
index 6c5b571..b71dd80 100644
--- a/linker/linker_environ.c
+++ b/linker/linker_environ.c
@@ -110,7 +110,7 @@
     while (envstr[cnt] == name[cnt] && name[cnt] != '\0')
         cnt++;
 
-    if (name[cnt] != '\0' && envstr[cnt] == '=')
+    if (name[cnt] == '\0' && envstr[cnt] == '=')
         return envstr + cnt + 1;
 
     return NULL;