Fix :AsyncPending when called from non-modifiable buffer

Hey,

  this is a fix for a problem I'm seeing on vim 7.3.46 (Windows). To repro: start vim, :help, :AsyncPending, which throws a couple of errors.

  Best, Mark