Pass -flto to linker in LDFLAGS when LTO=1

Pass flag -flto both to compiler *and* linker. Otherwise, linking would
fail with Clang. As a bonus, accept an EXTRA_LDFLAGS Make option.