correctly set nread when parsing floats

fixes a botch up by yours truly that broke scanf() with %n after %f in
6659d2ba. i blame immigrants on benefits.

ok natano@ marco@ haesbaert@