gst-inspect: Check for empty env variables

Fixes segfault happening when gst-inspect-1.0 is invoked with empty PAGER or
GST_LESS environment variables
25 jobs for !1399 with inspect-empty-getenv in 36 seconds (queued for 1 second)
latest merge request