Hydrocarbon production from fractured basement formations