I am not an expert on heart rot, but I would think it would actually help your compost pile. It only feasts on decayed wood, so I don't think it would harm anything healthy. And it would probably help speed up your compost pile. Fungi is very important to the compost pile.
Having said that though, you can always shoot an e-mail to your county extension office to be sure - they usually answer back promptly.