Revert "make JNIHelper static initialization be thread safe"

This reverts commit 8cb9e5c290af9ef411a793ad67b0e56305a75218.
revert back to potentially unthread safe initialization because static
initialization is busted on mac os x (should have remembered that).
fix test and make more robust to future ffmpeg changes.