stmhal: Use stream's readinto.