How to solve the warning of CAPTCHA session resuse attack
This is a bug in CAPTCHA module you are using. Module should be compatible with core, and file upload is one of the core functionalities of Drupal. Please report this bug to module's issue queue.

But you are not helpless. As a workaround, you can use Multi-Step Registration module. Keep CAPTCHA on first step only, and put profile photo in a second step. It will keep conflicting fields on separate forms, preventing them from interfering with each other.