[ticket/12208] Remove file from upload queue if deleted before being uploaded.

The table row is removed, but the files aren't actually removed from the
upload queue, so they get uploaded either way.

PHPBB3-12208
Merge pull request #2040 from prototech/ticket/12208

[ticket/12208] Remove file from upload queue if deleted before being uploaded.