Issue #1939064: Convert theme_links() to Twig.