Indonesia has confirmed its first locally-transmitted case of the fast-spreading Omicron coronavirus variant.