tests: Skip double test on stub locale impls
On musl, setlocale() with an unknown locale name will succeed, but treat the requested locale as if it were C.UTF-8. Therefore, to properly check whether the locale is supported, we need to actually verify whether it works the way we expect when deciding whether to skip the test.