Revert "moved passmanager into context for thread safety and use in OfflineModule"

This reverts commit b193454822b6ce07cd2b8b3fee9cdeac34ffe681.