Add __LTO__ define when building with LTO.

Allows working around bugs specific to LTO, in particular some FORTIFY_SOURCE stuff.