Nifty ends below 24,500 amid weekly F&O expiry, oil prices surge