Update reportGridByCategory.php

Updated HD_STATUS.NAME like 'closed' to HD_STATUS.STATE for more reliable results of actual ticket status.