Rebel Wilson says 'Pitch Perfect' contract banned her losing weight