Wrong mask was used to get branch instruction imm value. Differential Revision: https://reviews.llvm.org/D128740