doc: Use listings package to typeset listings.