Revert "Adjust to new async API."

This reverts commit

The API has been changed back in ObjFW.