Fix an error case in IMLibElement.setValueToIMNode()

Fix not to show the error message ("curVal.replace is not a function - EXCEPTION-27") in IMLibElement.setValueToIMNode() if the element of the parameter is a textarea element and the value is false.