block: move rescan_partitions to fs/block_dev.c