shlwapi: Partially implement SHGetObjectCompatFlags with tests.