libtiff: Replace sprintf with snprintf, to fix CVE-2013-1961.

https://github.com/libsdl-org/libtiff/commit/53d8c2e3b0601b5f5895bb93be6fae81b664509f

[Couldn't obtain the patch due to network issues; please check the above link instead.]