Revlon staves off bankruptcy after clinching last-minute debt deal