Fix a copy/paste mistake in richhash.

The richhash function was incorrectly terminating the ASCII representation. This appears to be a copy/paste mistake from the imphash function. To avoid this in the future I switched them to use the appropriate constants.