msmpeg4dec: fix init code to not fail when called from 2 threads at the same time.