ext4: add two helper functions extent_logical_end() and pa_logical_end()