Oil prices inch down but head for weekly gains