cbmdos: more global options

- allow specifying dos version byte in BAM
- option for allocating all blocks in BAM
- util.c: new function to parse hex from string