libpacman: Use pmtranstype_t instead of pmo_upgrade boolean.
libpacman: Move event and scriptlet functions magical names to a table.
libpacman: Forgot to remove this scriptlet invocation in previoous commit.