[mms-lib] Switched to Qt-based resizing

Also fixed build dependency on libjpeg