HBASE-12582 Backport HBASE-10881 'Support reverse scan in thrift2' to 0.98 (Ted Yu)