A readonly operand bundle disallows inference of readnone from the callee, but it should not prevent us from using the readnone fact on the callee to infer readonly for the callsite.
Fixes pr53270.
Review note: The change for writeonly is an unrelated bug fix, and I'll be landing it separately and rebasing. Included it here just because the cycle time on building changes to such a key header are painful.
nit: doc-comment should use ///?