Allow passing NULL as second argument to ascii_strtod

We do this in our own sources...

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>