[thrift] erlang: dialyzer bug: bad usage of ++ operator on a non-list Reviewed By: cpiro Test Plan: make dialyzer -j Revert Plan: sure