Compound of 物(もの) (mono) + 狂(くる)い (kurui). The kurui changes to gurui as an instance of rendaku (連(れん)濁(だく)).
物(もの)狂(ぐる)い • (monogurui) ←ものぐるひ (monogurufi)?