richedit: Avoid comparing padding in cursor structures on memcmp.