Fixed a bug about spawning. The bug is found by Gabriel Southern of UCSC. Now the parent only wake up those childrens at lock or join. For some splash benchmarks, parent will call barrier_wait instead.