block: add bioset_init_from_src() helper