HFuzzer: Testing Large Language Models for Package Hallucinations via Phrase-based Fuzzing