avio: move init_put_byte() to a new private header and rename it