Add basic compile time tests for sn?printf.

Bug: 17782583
Change-Id: I6443537c643d1cc6b4a8f2dab5c364f2fbc1faa3
Merge "Add basic compile time tests for sn?printf."