libata: Use glob_match from lib/glob.c