WICKET-5759 AjaxRequestAttributes extra parameters aren't properly handled in getCallbackFunction()

(cherry picked from commit 18667ac778a96dcd85f03936c094d1fad2884424)