Fixed #11915: generic Accept-Language matches country-specific variants

Tested on both 2.7 and 3.3.