Measurement of cosmogenic $^9$Li and $^8$He production rates at RENO