add box target parameter to nativecallcast

We box into the object provided by this param, and query the already existing param
for bit sizes we need when reading numbers. Also add a missing break in a switch case.