(Binary Simulator) Fixed compiler errors due to API change on semantics2 branch

(cherry picked from commit 7a3d3927b134cabdabbc22f13fe00e6a3ae2d5ba)
(Binary Analysis) Fixed Dispatcher::read()

This function should have tried harder to make the return value
the width requested by the caller.