replace const() calls in ast to empty value