msm7x27a-common: optimise baseband detect script