The semiconductor integrated circuit device having an error detection function