target: LS1_SAP: fix "declaration of 'read' shadows a global" warning