mraa.c: we now remove trailing CR/LF from IIO dev names