vpxenc: Relocate rate/quantizer histogram code. Adding rate_hist.{h, c} files. Change-Id: Iaa28af6b25ec8982966a7296a073d6017b3a7f96