IPO: implemented INTERPROCEDURAL_OPTIMIZATION for gcc (-flto)

Using the IPO specific rule variables in the Ninja generator should
fix intel IPO as well.
Merge topic 'gcc-ipo' into next

31b49654 IPO: implemented INTERPROCEDURAL_OPTIMIZATION for gcc (-flto)