mavlinkbridge: fixed voltage and current calculation

* fixed a mistake which puts the current into the voltage variable
* added proper rounding when converting from float to int

Test pending