fix hermes plt build

plt building for hermes fails because of arity mismatch between the loop call in `after_response/2` and its actual arity.