This patch is based on the patch that serializes immediate machine operands (http://reviews.llvm.org/D10573).
This patch translates the source locations for machine instruction parsing diagnostics from the locations in the
machine instruction source string to the locations in the MIR file.