ARM: SoC fixes for 6.2

These are a couple of build fixes from randconfig testing,
plus a set of Mediatek SoC specific fixes, all trivial.