markup/goldmark: Rename/reorder the hook methods
markup/goldmark: Rename/reorder the hook methods

To make them easier to follow.

See #8755

anthonyfok/hugo,anthonyfok/hugo,gohugoio/hugo,anthonyfok/hugo,gohugoio/hugo,gohugoio/hugo