Fix deprecation use of old procedure syntax.

Without this fix, you cannot compile Play apps with -Xfatal-warnings because the code generated by routes-compiler uses the deprecated procedure syntax.
Merge pull request #3765 from gnp/2.3.x

Fix use of deprecated old procedure syntax.