Revert "GRAILS-11241 - Pass GrailsWebRequest to captureTagOutput instead of RequestAttributes"

This reverts commit 7b14301bbea26d7362e28409d44e35d1ead2b035.
GRAILS-11241 - insert cast to support static compilation