Resummation of the Sivers asymmetry in heavy flavor dijet production at the Electron-Ion Collider