Optimize LOGTEST on ARM.

Use TST instead of AND together with comparison to zero.
Optimize LOGBITP on ARM.

Using the TST instruction.