steam-api: fixed failing friend additions

Friend additions were failing from an old error check which is no longer
sufficient for the request. The error checking has been updated for the
changes to the Steam API.