avformat/vpk: Fix integer overflow in samples_per_block computation