Protect against possibly NULL pointer being referenced

VS projects won't build after a recent change to the vehicle pile-up code, due to an error about a possibly uninitialized pointer. In some rare cases add_vehicle() can actually return NULL, so it's actually a good idea to check for this anyway.