Internal combustion engine control method, engine system and corresponding computer program product