Fix #122: Some calls to game_cancel_transported_resource() have the parameters backwards

Adds some assertions to check that a valid stock index for building is found.