package: Do not deflate small streams in a thread

Change-Id: Iae804a34f344aa793a6d5c13315f7bc1eb64c0a2
package: Use comphelper::ThreadPool for deflating

Change-Id: I6bd75c0aeff18b17fba933874a9964fe1dc47404