Jacob Elordi ‘was in such pain’ while filming Frankenstein