Reinstate bam_header_dup as bam_hdr_dup

In the original samtools API there was an undocumented call
bam_header_dup which copied an existing header.  This is rather
useful in certain situations and thus I have reinstated this.