In terms of the requirements and purpose, there is no difference. Both ISO 9001 and ISO 17025 Standards require that organizations address risks and opportunities as relate to the organization achieving its objectives. The same or similar approaches can also be taken when performing risk analysis. In both cases, organizations are required to perform risk analysis by identifying risks and planning responses. Neither standard prescribes a specific approach or methodology.
For more information on the topic, have a look at these articles: