block: Add SG_IO device check in refresh_total_sectors()