Silica removal to prevent silica scaling in reverse osmosis membranes