tools: make mkssldef.py Python 3 compatible
This patch replaces the usage of map
in such a way that it will be
compatible with Python 3.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
cc @nodejs/python @cclauss