Avoid uncommitted transaction notices in thumb.php and img_auth.php

bug: 56269
Change-Id: I8cf5c070899d281c7efbac853f04c2fea9374e4d
Merge "Avoid uncommitted transaction notices in thumb.php and img_auth.php"