Use EventLoggingRegisterSchemas hook

There was actually no need to use an extension function here
in the first place, but using the proper hook for it is even
better.

Change-Id: I9654402631e6bd3b99b3b6571d4413d0a23ee89c