Ignore errors when restoring window configurations after command

If a user runs ibuffer or magit full-frame, then commands such as
killing buffers can make it impossible for the window configuration to
be fully restored from the saved register.

This commit handles such errors and prints a warning.