Fix test_semaphore

The scope of `char name[N][16];` was off.
`&thread_stack[i][KERNEL_CONF_STACKSIZE_PRINTF]` instead of `thread_stack[i]` is effectively an off-by-one.