[llvm-profdata] Add support for weighted merge of profile data