test/mcslock: wait for lcore completion