Hamilton was eyeing a move away from McLaren in 2012 and eventually moved to Mercedes, where he won six titles