btrfs-progs: don't leak fd in test_dev_for_mkfs() error paths