[PECOFF] Move a utility function used in a pass to Pass.cpp.

The file currently has only one function. Function that is useful both for
IdataPass and EdataPass will be added to that file.
Fix the usage of the CommonOptionsParser ctor changed in r197139.