[PATCH 4.9 24/53] tracing: Fix partial reading of trace events id file