HDFS-4249: remove unused totalEditOps counter
HDFS-4249: resolve bad interaction with QJM by tracking whether or not length is known for an EditLogInputStream