Hugh Jackman reveals he was nearly fired from role as Wolverine