FG-PRM: Fine-grained Hallucination Detection and Mitigation in Language Model Mathematical Reasoning