Update sm_version_auto_increment.py

Changed detect type from "syntax" to file extension.
Changed search RegExp to support both variants #define VERSION "ХХ.XX.XXX", #define PLUGIN_VERSION "ХХ.XX.XXX"