Fixed broken MSI-X offset calculation.
How did this work before? Thanks @parthy. Fixes #37.