Mathieu moonshine in string theory