IMS gateway device and method for online charging in IMS networks