code review follow up: support setting a cc_binary target as the thrift compiler

* remove the hard code library deps to thrift compiler
* thrift compiler target to the deps of thrift_library target

Change-Id: I4716484f09e99169dd5ba84175ff1dd728598f71
Signed-off-by: liuhuahang <liuhuahang@xiaomi.com>