Add try-catch blocks and critical sections to wrap libgit functions in CLogDataVector::ParserFromLog()

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>