Fix maximum recursion depths in certain testing environments.

This is caused by applying the patch multiple times when the ZCML is loaded multiple times.

@buchi this fixes the `maximum recursion depth` errors when multiple testing layers are used, which load the ZCML.
This is not a problem in the tests of `collective.lastmodifier`, but in tests of integration packages..