BUG: downcasting via com._possibly_downcast_to_dtype now rounds before casting
     to avoid precision issues on platform; dtype conversion to int is not more robust
     related GH5174