Shut an ASAN error

Even though on runtime it is guarantee to be safe. ASAN check that
the size you pass to memcmp() does not exceed any of the arguments.