vices for purposes of determining unreimbursed costs. After January 1, 1996, for purposes of this definition, charitable contributions and grants to a hospital, including transfers from endowment or other funds controlled by the hospital or its nonprofit supporting entities, shall not be subtracted from the costs of providing services for purposes of determining the unreimbursed costs of charity