demux: flac: align to avoid overflow on seek (fix #10000)

Align seek time on second to avoid overflow on seek.
demux: asf: avoid truncation on malloc