liblzma: Verify the filter chain in threaded encoder initialization.

This way an invalid filter chain is detected at the Stream
encoder initialization instead of delaying it to the first
call to lzma_code() which triggers the initialization of
the actual filter encoder(s).
1 file changed