Oil extends losses on API inventory build, EIA report eyed