Avoid using htsFile is_foo bits directly

Use the new public hts_get_format() facilities.  Requires htslib
commit 529ca88071e775a488e4108945d5bd863a4190f0 / version 1.2 or later.
Merge origin/develop, prefering avoiding using htsFile internals