Dinar gains ground against USD