groovy: specify version in devel block

The version wasn't being parsed correctly out of the url for the devel block
resulting in a wrong devel version being reported by `brew info groovy` and
a wrong version number used for the directory name under `/usr/local/Cellar/groovy`.

Closes #28476.

Signed-off-by: Brett Koonce <koonce@gmail.com>