Lifshitz tails for alloy-type models in a constant magnetic field