Miley Cyrus shares the medicine that has kept her 'grounded in a sober lifestyle' for 5 years