[PATCH 4.14 026/157] branch-check: fix long->int truncation when profiling branches