fix: scale mismatched frame dimensions in VideoBuilder before encoding
Frames passed to addFrame() may not match the encoder's configured
dimensions, causing buffer size mismatches and silent data corruption.
Scale the bitmap to the target dimensions before YUV conversion.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>