Fix PHP Notice when using display-posts shortcode

When display-posts shortcode is used for something other than popular
posts when BE-Stats is installed, orderby parameter is optional, and there's a PHP Notice if it isn't used in the shortcode. This just checks to see if it's set first. (PHP Notice police FTW)