Add g_simple_async_result_is_valid(). Implementation by Dan Winship.