regress_buffer: fix 'memcmp' compare size