btrfs-progs: fix regexec to only work if we actually have a regexec