Fix pass-by-ref warnings in hhvm_wrapper