Constant time equal function to avoid timing attacks
