#7730 removed priority estimation and so the declaration of UNLIKELY_PCT can now be removed.
Similarly TxConfirmStats::EstimateMedianVal() is now only called with requireGreater set to true, so that function argument can be removed, along with the logic which depends on its value.
I can submit a pull request for this if it's something that would be useful.