Make parallel video writer test pass if compiled without threading support
Merge pull request #434 from taka-no-me:fix_parallel_writer_test