For printf checking, handle nested typedefs for darwin-specific checking.

Fixes <rdar://problem/13491605>.