GFlowGR: Fine-tuning Generative Recommendation Frameworks with Generative Flow Networks