Improve comment
Return current txg as an int

Just like in the linux specific version, return it as an int so that we
can easily do maths with it, which is probably the more common use.