[stack protector] Add test cases for thumb and thumb2.

<rdar://problem/12475629>