[PATCH 1/6] util: Add helper to find offset into io vector