Microwave study of the critical state in granular YBa2Cu3Ox thin films