test: Add a lit config variable to check if LTO is enabled.