SCUAB2: trap AST__NOMEM as well

This is a very rare error but I've seen it a couple of times in the
pipelines running at the telescope so it doesn't hurt to catch it
too. The most recent example seemed to be a one-off and it was not
possible to replicate offline.