gyp: rm semicolons (Python != JavaScript)
Checklist
-
commit message follows commit guidelines
This is a follow-up PR from https://github.com/nodejs/node-gyp/pull/1858 where these changes have been landed upstream (as well as follow-on from https://github.com/nodejs/node/pull/29120).
There are some additional changes not in the upstream PR as it seems the node copy of gyp isn't identical.