HF RL Explorer

Fixes a crash and an infinite loop in stb image that could occur with specially constructed PGM and HDR files

Fixes a crash and an infinite loop in stb image that could occur with specially constructed PGM and HDR files: a task in github-trending-environments-10k (Harbor dataset). Title: Fixes a crash and an infinite loop in stb image that could occur with specially constructed PGM and HDR files

The task

**Title:** Fixes a crash and an infinite loop in stb_image that could occur with specially constructed PGM and HDR files

Part of scalingX/github-trending-environments-10k.