ohos: fix OAuth2 code/device flow test with built-in test data
When test data is embedded as resources, the certificates are located
under :/shared/certs. QFINDTESTDATA("../shared/certs") cannot resolve
that resource path and falls back to the application directory, causing
the TLS authentication test to run without its certificates.
Use the embedded resource path when BUILTIN_TESTDATA is enabled while
retaining the existing filesystem lookup for other configurations.
Pick-to: 6.12
Fixes: QTBUG-148808
Change-Id: I0c2a8504b13aac722367029b472157e0dc3b1638
Reviewed-by: Juha Vuolle <juvuolle@gmail.com>