Формула 1 Malaysia is set to hold a grand prix in October as a replacement for the Bahrain race that was called off earlier this season.