Fix hasFlags method in IntentAssert

Android has same values for flags `FLAG_ACTIVITY_MULTIPLE_TASK` and
`FLAG_RECEIVER_NO_ABORT`. Hence, any invocation of `hasFlags` resulted
in IllegalStateException being thrown.