The effects of r-process heating on fallback accretion in compact object mergers