playlist: use pthread for mutexes instead of SDL2