OpenACC acc_on_device: Fix logic error introduced in an earlier change.