configure: arm: detect default thumb state of compiler