Allow doc update if attachment's source revision has been compacted away

If a revision is a stub with a revpos, but the parent revision body
isn't available anymore, allow it.
Fixes #498