Needed for cross-compiling when -flto is in *FLAGS including LDFLAGS.
We already try to disable LTO for the CBUILD Python we build for
cross but not in LDFLAGS, so do that too to avoid a configure test
failure.
Signed-off-by: Sam James <sam@gentoo.org>