migration/dirtyrate: Introduce APIs for getting domain memory dirty rate