Identification of globular cluster stars in RAVE data - I. Application to stellar parameter calibration