block: Move bio merge related functions into blk-merge.c