X-ray spectral constraints on the broad-line cloud geometry of NGC 4151