movenc: Simplify code by using avio_wb24

Signed-off-by: Martin Storsjö <martin@martin.st>