core: Fix in Zotonic after removing access to the webmachine_request:send_response/2 function

This pull-request follows a fix for crash in performance logs in webzmachine. See this pull request:

https://github.com/zotonic/webzmachine/pull/12