Guard around dispatch_resume() being called with null pointer, as warned by the static analyzer.

The static analyzer was warning against this possibility of calling dispatch_resume() with a null pointer. The possibility looks slim, but I think is possible given the pointer is an ivar and could potentially change between the NULL check and the call.

We don't like any warnings (analyzer or otherwise) so fixed it.

Cheers,
Chris