btrfs-progs: use switch instead of a series of ifs for output error message