Various fixes in include/api
Various fixes in include/api

- Fix unused condition in api_status_show()
- Fix wrong operator orders in api_get_entitites()
- Fix wrong variable usage in api_account_update_profile_image()

fabrixxm/friendica,friendica/friendica,annando/friendica,fabrixxm/friendica,friendica/friendica,fabrixxm/friendica,tobiasd/friendica,annando/friendica,annando/friendica,friendica/friendica,friendica/friendica,tobiasd/friendica,fabrixxm/friendica,fabrixxm/friendica,annando/friendica,annando/friendica,friendica/friendica,tobiasd/friendica,tobiasd/friendica,tobiasd/friendica