Fix qtCanvas errors on Python 3.10 due to implicit float->int casting (#5167)
Fix qtCanvas errors on Python 3.10 due to implicit float->int casting (#5167)

In Python 3.10 implicit conversion from `float` to `int` no longer
works and raises an error.
Fixed by explicit casting to `int` where and `int` is expected by
Qt5.
bp-kelley/rdkit,greglandrum/rdkit,greglandrum/rdkit,greglandrum/rdkit,ptosco/rdkit,rdkit/rdkit,rdkit/rdkit,bp-kelley/rdkit,ptosco/rdkit,greglandrum/rdkit,ptosco/rdkit,rdkit/rdkit,ptosco/rdkit,greglandrum/rdkit,rdkit/rdkit,ptosco/rdkit,greglandrum/rdkit,greglandrum/rdkit,rdkit/rdkit,rdkit/rdkit,bp-kelley/rdkit,ptosco/rdkit,greglandrum/rdkit,ptosco/rdkit,bp-kelley/rdkit,bp-kelley/rdkit,rdkit/rdkit,bp-kelley/rdkit,bp-kelley/rdkit,rdkit/rdkit,bp-kelley/rdkit,ptosco/rdkit