[CSL-1931] Optimize loadHeadersUpWhile
[CSL-1931] Optimize loadHeadersUpWhile

input-output-hk/cardano-sl,input-output-hk/cardano-sl,input-output-hk/cardano-sl,input-output-hk/pos-haskell-prototype,input-output-hk/pos-haskell-prototype,input-output-hk/cardano-sl,input-output-hk/pos-haskell-prototype