details-page: Protect against NULL line
On a Raspberry PI 4, Sysprof crashes immediately when trying to memchr() on the 'line' variable. The current RPI4 support is poor on Linux mainline admitedly, but having Sysprof to work on it at least gives us a chance to profile the major bottlenecks.
Protect against NULL 'line'.