wordexp(): Fix syntax validation for backslashes in single-quotes.