Documentation/hooks: add pre-auto-gc hook