[PATCH] blkparse: move magic check a little earlier in stdin read