add static to compare_migrate_io()

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>