Handle inlining in populateLTOPassManager like in populateModulePassManager.

No functionality change.