Updated validate_jpeg_from_buffer in rawdata-movsplit