build(npm): fix Commitizen ES Module errors

Commitizen is currently generating errors due to ES Module/CommonJS
incompatibilities described by the following GitHub issue:

    https://github.com/conventional-changelog/commitlint/issues/3842

This change implements the temporary workaround described by the issue.

Change-Id: Idb74a3366bf046a0c9bac83380de904c5c059087
Signed-off-by: Chris Kay <chris.kay@arm.com>
2 files changed