bindexplib: fix constants symbols export
This patch fixes bindexplib to add constants to .def
file.
Note about testcase:
_declspec(dllimport)
is needed because <something> DATA
emits only _imp_<something>
in .lib
file ( https://docs.microsoft.com/en-us/cpp/build/importing-using-def-files )