DerivationFrameworkLLP: Fix bad casts.
Make sure a calo cell is actually a tile cell before casting it to TileCell. Otherwise the result is undefined. Fixes irreproducibilities seen in the LLP1 derivations where these variables were filled with garbage.