Modified reset pulse generator counter

Instead of counting up to match a 24 bit value, it
counts a 25-bit value down to 0 and then wraps to all 1's, allowing
comparison to a single bit to determine the expiration of the counter.
This eliminates several logic levels and improves timing.