Hydraulic cylinder for tilt cab and spare wheel