When we're merging bits that are set in a read-only input tree then we can't try to merge more bits than exist in the input tree. That'll cause us to loop around and double-free bits. Signed-off-by: Zach Brown <zab@versity.com>