core: check for GPU_* environment variables unconditionally.