As a preparation to test accepting multiple externally funded channels at the same time, we extract the deriveFundingShim function from the external funding integration test.