ghostscript: fix typo

Also use std env when djvu is requested.

Closes #20787.