Resolve runtime macros recursively in *_url, notes similar to vars.

Fixes #6014