Make unmountAndReleaseReactRootNode not throw

When there isn't any React node in the DOM, unmountAndReleaseReactRootNode threw an exception because component was undefined. Instead, return whether we were able to unmount the component.