Opt-in RBF was using std::numeric_limits<unsigned int>::max() for determining whether a TXN is RBF- able or not, thus relying on an architecture/compiler detail, which would fail e.g. for ILP64 data types.
This commit replaces the above with the SEQUENCE_FINAL protocol constant.