OBFFormat: verify stream is valid before reading

The OBFFormat just starts reading from an IRandomAccessStream without
checking if it actually contains enough bytes to read from.

So, we should use the validStream method first to ensure its capacity.
This also will avoid reading from VirtualHandles.