btrfs-progs: move check_arg_type() to util.c