Charged magnetic brane solutions in AdS5 and the fate of the third law of thermodynamics