Use correct data type as 'getdelim' return value

[GF-3931] nyx-modules: Use correct data type as getdelim return value

Open-webOS-DCO-1.0-Signed-off-by: Pekka Ropo <pekka.ropo@palm.com>

Change-Id: Icb81a7119f342402a218b73bc5581b325ba864e5
Reviewed-on: https://g2g.palm.com/1962
Reviewed-by: Build Verification
Tested-by: Pekka Ropo <pekka.ropo@palm.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Keith Derrick <keith.derrick@lge.com>