Follow aliases when determining if a symbol is thumb.

This fixes pr19484.