Introduce new option CONFIG_HAS_OLD_TZ

We hope to get a new bootloader some day, and other devices with
possible similar bugs are known to be working on the kernel, so fix the
ifdefs to make it portable.

This is a ifdef'd revert of 94c820fa4dc10de8065b2b34c51bbd6b0baf3d5f
ApexQ: misc USB/charging fixes