dyn_array: don't break compiling for !CONFIG_SMP