Malaysian palm oil price reverses early gains on weak demand and profit-taking