Enable checkhooks without debugging

I think that it's possible that some people might want to use enable debug.checkhook independently of enabling the whole debugging in openresty. This PR adds one option, independent from `-with-debug`, to do that.