tools: replace mkmscimg with mkmscimg.py (mkmscimg.c was platform dependent)
Refactor CRC tools