user_mgr: Fix potential out-of-bounds access

If the sysconf method returns -1, an out-of-bounds access problem
will occur when declaring the following vector:
```
std::vector<char> buffer(buflen);
```

Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: I1887cc418c40b01d839f9c0e25bef09a2605973b
diff --git a/user_mgr.cpp b/user_mgr.cpp
index 09d82b1..22820e1 100644
--- a/user_mgr.cpp
+++ b/user_mgr.cpp
@@ -888,7 +888,7 @@
     {};
     struct spwd* spwdPtr = nullptr;
     auto buflen = sysconf(_SC_GETPW_R_SIZE_MAX);
-    if (buflen < -1)
+    if (buflen <= 0)
     {
         // Use a default size if there is no hard limit suggested by sysconf()
         buflen = 1024;