Input: add missing dependencies on CONFIG_HAS_IOMEM