Add valgrind clean strtof/d/ld function supporting nan/inf

- since sscanf / strtof etc have issues with nan/inf parsing add
valgrind clean extra treatment for that