Malaysian palm oil price gains on improved rival oils, weaker ringgit