fdo#71625 Don't loop autosave if userautosave fails

Should also fix most of the reports of fdo#46635
(I have no idea regarding the original report,
because it predates the autosave feature.)

Change-Id: I006d62053a159ab3157438a57dee56d6d99990a8
(cherry picked from commit 5b9509115bd4adc5ef2618f0d9436cda1c0d9fbe)
Reviewed-on: https://gerrit.libreoffice.org/10859
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
(cherry picked from commit 9799a623161f43a0ca0c7a4806416ce466b558a6)
Signed-off-by: Andras Timar <andras.timar@collabora.com>