tools: add hg patch converter

Signed-off-by: Simarpreet Singh <simar@linux.com>