The International Space Station was forced to fire thrusters to dodge a collision with a satellite, NASA has said.