i#1957: fix if clause error
i#1957: fix if clause error

xref #1958

Fixes #1957

Review-URL: https://codereview.appspot.com/300530043

AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio