[LIBS] Add isspace and whitespace removal function

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>