During his hospitalization, Joe Manganiello became dependent on liquid Dilaudid for pain management