gambit-scheme: use std env

Fixes #17099.