fix typo in RegisterEventListenersAndSubscribersPass

Not able to set priority in event subscribers