threads: add one-time initializer vlc_once()