Oil edges up on falling US crude stocks, but global glut weighs