Fixed processing of reversed AMD conditionals

Reversed AMD conditionals where not processed correctly:

```javascript
if ("function" === typeof define) { /*...*/ }
```
Some libraries (like React, for example) unfortunately use this style of conditional AMD support, which renders them unusable with amdclean. This PR fixes this problem by checking for both variants of the comparison.