Towards a W boson mass measurement with LHCb