[ihextobin] fix ihextobin after c++11ification