An abandoned bus in Gloucester has been removed after it became a "dangerous" magnet for drug taking and rough sleeping.