target-arm: add arm_is_secure() function