Free PG RG structures on bam_hdr_destroy