[PATCH 5.10 220/352] ext4: factor out a common helper to query extent map