Inline ReaderFactory functions to avoid duplicate symbols
The functions in HepMC3/ReaderFactory.h
were missing inline
keywords, so including the ReaderFactory.h
multiple times in the same project (or even multiple projects) could lead to link errors due to the duplicate symbols.