restored type of bam_aux2i

Apparently other programs relied on it being present and wouldn't
compile anymore.